#!usr/bin/env python  
# -*- coding: utf-8 -*-
""" 
@author:Simon
@file: objdemo12.py 
@time: 2018/01/19 
"""
try:
    print('测试...')
    r = 10/30
    r = 10/ int('a')
    print('result:',r)

except ZeroDivisionError as e:
    print('报错信息:',e)
except ValueError as e:
    print('值类型报错')

finally:
    print('finally...')

print('End')